﻿using System;
using System.Collections.Generic;
using System.Runtime.Serialization;
using System.Text;
using Newtonsoft.Json;

namespace ifunction.BaiduBCS.SDK
{
    /// <summary>
    /// Class StorageObjectData.
    /// </summary>
    [DataContract]
    public class StorageObjectData : StorageObjectIdentity
    {
        /// <summary>
        /// Gets or sets the MD5
        /// </summary>
        /// <value>The m d5.</value>
        [DataMember]
        public string MD5 { get; set; }

        /// <summary>
        /// Gets or sets the bytes.
        /// </summary>
        /// <value>The bytes.</value>
        [DataMember]
        public byte[] Bytes { get; set; }

        /// <summary>
        /// Initializes a new instance of the <see cref="StorageObjectData"/> class.
        /// </summary>
        public StorageObjectData()
            : base()
        {

        }
    }
}
